// 这是需求进程
#include <iostream>
#include "Client.hpp"

int main()
{
    Client client;
    client.OpenPipeForWrite();
    string message;
    while(true)
    {
        cout << "Please Enter: ";
        getline(cin, message);  // 从标准输入中获取输入
        client.SendPipe(message);
        
    }
    client.ClosePipe();
    return 0;
}